/**
 * 
 */
package fr.utbm.gi.in56.message;

/**
 * Enum of the different message types
 *
 * @author Adrien Hoffer & Tarik Belabbas
 *
 */
public enum MessageType
{
	NONE
	{
		@Override
		public String getType()
		{
			return ""; //$NON-NLS-1$
		}
	},
	NEW
	{
		@Override
		public String getType()
		{
			return "new"; //$NON-NLS-1$
		}
	},
	ANSWER
	{
		@Override
		public String getType()
		{
			return "answer"; //$NON-NLS-1$
		}
	},
	INBOX
	{
		@Override
		public String getType()
		{
			return "inbox"; //$NON-NLS-1$
		}
	},
	SENT
	{
		@Override
		public String getType()
		{
			return "sent"; //$NON-NLS-1$
		}
	};
	
	/**
	 * Returns the string associated to the type.
	 * 
	 * @return the string associated to the type
	 */
	public abstract String getType();
}
